package com.ch.boundarycallbackdemo.api

import com.ch.boundarycallbackdemo.bean.NewsBean
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.QueryMap

interface NewsApi {
    @GET("index?type=top")
    fun getNews(@QueryMap paramas: Map<String, String>): Call<NewsBean>
}